<h1><?php echo $title; ?></h1>
	<table class='list'>
<?php foreach($rows as $categoria => $missioni): ?>
		<tr>
			<td></td>
		<?php foreach($arr_mese as $i): ?>
			<th><?php echo $nome_mese[$i]; ?></th>
		<?php endforeach; ?>
			<th><?php echo __("Totale", $module); ?></th>
		</tr>
		<tr><td colspan="14" style="background-color: lightgreen; border-bottom: 2px solid lightgreen; font-size: 15px; font-weight: bold;"><?php echo $categoria ?></td></tr>
		<?php foreach($missioni as $missione => $mesi): ?>
		<tr>
			<th width='22%' style='text-align:left;'><?php echo $missione; ?></th>
			<?php foreach($arr_mese as $i): ?>
				<td width='6%' align='right'><?php echo (isset($mesi[$i]))?format_euro($mesi[$i]):format_euro(0); ?></td>
			<?php endforeach; ?>
			<td width='8%' align='right' class='total'><?php echo format_euro(array_sum($mesi)); ?></td>
		</tr>
		<?php endforeach; ?>
	
<?php endforeach; ?>
</table>
